﻿namespace XCZProject
{
    public interface IEnemy
    {
        /// <summary>
        /// 造成伤害
        /// </summary>
        /// <param name="value"></param>
        /// <param name="force">是否强制伤害</param>
        /// <param name="critical">是否暴击</param>
        public void Hurt(float value,bool force=false,bool critical=false);
        void SetSpeedScale(float speedScale);
        void SetHpScale(float hpScale);
    }
}